package com.liull.netty.nio.bytebuffer;

import cn.hutool.core.lang.Console;

import java.nio.ByteBuffer;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 23:15 2021/7/21
 * @Modified By:
 */
public class ByteBufferUtil {
    public static void printDesc(ByteBuffer buffer) {
        Console.log("position:[{}],limit:[{}],content:[{}]", buffer.position(), buffer.limit(), buffer);
    }
}
